# Contributor:
# Maintainer: Charles Wimmer <charles@wimmer.net>
pkgname=py3-bump2version
_pkgname=bump2version
pkgver=1.0.0
pkgrel=0
pkgdesc="Version-bump your software with a single command!"
url="https://github.com/c4urself/bump2version"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-tox py3-pytest py3-testfixtures"
source="$pkgname-$pkgver.tar.gz::https://github.com/c4urself/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="009ae2009791c03ed26f6313bffc17a73a0fe1f9afe3b981bcfe0e9c3a163228ceb84d892fcd74cb30863a661c5cc96b7006e947f9b6696aa96a8f5564decba6  py3-bump2version-1.0.0.tar.gz"
